package Day003_多态_内部类.zuoye;

public class Test {
    public static void main(String[] args) {
        Animal anl = new Cat();
        anl.setName("花花");
        anl.setAge(1);
        anl.setSex("男");
        System.out.println(anl.getName() + anl.getAge() + anl.getSex());
        anl.eat();


        ((Cat) anl).catchMouse();
    }
}
